As the discourse on the mental health of the elderly gains prominence, I delve into the HappyDB dataset to unravel the nuanced elements that contribute to the happiness of elderly individuals during their retirement years. Retirement is a significant life transition, often accompanied by various challenges and opportunities. Understanding the sources of joy during this period can provide valuable insights into the well-being of retired individuals and offer guidance on fostering a happier retirement.This exploration is not merely an academic pursuit; it’s a deeply personal quest fueled by a concern for the well-being of my own grandparents.

Initially, I preprocess the unrefined text data found in the ‘cleaned_hm.csv’ file within the ‘data’ directory. This involves data cleaning, elimination of stopwords, and the creation of a structured and organized version of the text, which is subsequently stored in the ‘output’ directory.

Following this, I merge the processed textual information with demographic details from the ‘demographic.csv’ file, also located in the ‘data’ directory. This combined dataset serves as the foundation for the analysis.

## Warning: One or more parsing issues, call `problems()` on your data frame for details,
## e.g.:
##   dat <- vroom(...)
##   problems(dat)

Initially, let’s examine the age distribution. The age range spans from 2 to 98, with the exclusion of ages over 200, as they were deemed inaccurate. For the focus of this analysis, individuals aged over 65 have been selected, given that, in general, this age marks the period of retirement for most individuals.

## Warning: Removed 40 rows containing non-finite values (`stat_bin()`).
## Warning: Removed 2 rows containing missing values (`geom_bar()`).

Question 1: What Makes the Elderly Happy During Their Retirement Period?

Now, let’s use wordcloud to see the big picture of happyness of the elderly.

It is evident that terms such as “wife,” “day,” “friend,” “daughter,” “son,” “time,” play a significant role in the happiness of individuals during their retirement years. These findings align with common perceptions of elderly individuals finding joy in spending more time with family and enjoying various aspects of life after leaving the workforce. The increased emphasis on relationships and the availability of time for leisure and meaningful activities contribute positively to the overall well-being of retirees.

Question 2:Does the contribution to happiness for the elderly vary by region?

Taking a broader perspective, let’s move on to another question: Does the contribution to happiness vary by region? To explore this, we’ll begin by examining a pie chart depicting the distribution of continents in the dataset.I split the countries in to five continents as follows:

The pie chart reveals that the majority of the data originates from North America. Unfortunately, data for regions other than North America and Asia is insufficient for drawing conclusions about their contribution to happiness. Consequently, we’ll focus our analysis on comparing Asia and North America based on the available data.

Analyzing the word frequency, the top 5 words associated with happiness in North America are “wife,” “day,” “friend,” “time,” and “daughter.” On the other hand, the top 5 words in Asia include “son,” “granddaughter,” “feel,” “enjoyed,” and “summer.” It’s notable that both regions share words related to family, emphasizing the importance of familial connections in contributing to happiness. However, a notable distinction arises as the word “friend,” prominently featured in the big picture word cloud, does not appear in the top 10 for Asia. This discrepancy is likely due to the large proportion of data from North America, causing the big picture to skew towards depicting the situation in North America.

Question 3: Do Grandma and Grandpa Differ in Happiness?

Having gained insights into what the elderly prioritize for happiness, I couldn’t help but wonder: would there be a difference between grandmothers and grandfathers in terms of what brings them joy? Are there aspects that males consider happiness-inducing but females do not? The following is a pyramid plot illustrating the top 10 words. This plot visually compares word frequencies between females and males over 65, highlighting the top 10 words with the most significant differences. In this section, we utilize data from individuals above 65 across all regions.

## 75 75
## [1] 5.1 4.1 4.1 2.1

It’s not hard to see that the frequency of “husband” and “wife” for male and females has a great difference as people describe their spouse in such a way. Words such as “church,” “car,” and “golf” ,“home” being more prevalent in expressions of happiness for men indicate specific themes associated with their post-retirement happiness. Females, on the other hand, seem to find happiness in different themes, such as “conversation,” “game,” and “love.” This may suggests that, after retirement, males may derive happiness from activities related to sports, personal interests (like cars), and potentially religious or spiritual engagements. On the other hand, females may find happiness in social interactions, recreational activities, and emotional connections.

Now, let’s examine the commonalities between males and females among the elderly.

From the common words frequency, we can observe that the most common words for both males and females are “friends,” “day,” and “found.” Following these, the second-appearing terms are depicted in pink, and these include words associated with family. Thus, for grandpas and grandmas, it appears that they unanimously agree on the significance of friends in contributing to their happiness.

Conclusions

1.There are differences in happiness across regions. “Friends” is a top word in North America but not in Asia for people over 65. 2.It seems that males during retirement are more inclined to find happiness from cars, sports, and belief, while females are more inclined to find attachment. 3.Both females and males agree that friendship is important to happiness.